<?php
/**
 * Created by PhpStorm.
 * User: work
 * Date: 18-8-11
 * Time: 下午3:33
 */

/**
 * http://www.myleftstudio.com/reference/annotations.html
 *
 * @RoutePrefix("/pddorder")
 */
class PddorderController extends \Dai\Framework\Base\BaseController
{
    /**
     * @Action("inviteList")
     * @Get("/invite/list")
     * @Login(true)
     * @desc 用户邀请的订单
     * @format(html)
     */
    public function inviteListAction()
    {
        $this->execute();
    }

    /**
     * @Action("buyList")
     * @Get("/buy/list")
     * @Login(true)
     * @desc 用户订单
     * @format(html)
     */
    public function buyListAction()
    {
        $this->execute();
    }

    /**
     * @Action("ownBuyList")
     * @Post("/own/buy/list")
     * @Login(true)
     * @desc 用户自购订单
     */
    public function ownBuyListAction()
    {
        $this->execute();
    }

    /**
     * @Action("ownSpreadList")
     * @Post("/own/spread/list")
     * @Login(true)
     * @desc 用户直接下属购买订单列表
     */
    public function ownSpreadListAction() {
        $this->execute();
    }

    /**
     * @Action("allSpreadList")
     * @Post("/all/spread/list")
     * @Login(true)
     * @desc 用户推广所有列表
     */
    public function allSpreadListAction() {
        $this->execute();
    }
}